package com.atguigu.service;

import com.atguigu.pojo.Page;
import com.atguigu.pojo.MysqlServiceConfig;

import java.util.List;

public interface MysqlServiceConfigService {
    public void addMysqlServiceConfig(MysqlServiceConfig mysqlServiceConfig);
    public void updateMysqlServiceConfig(MysqlServiceConfig mysqlServiceConfig);
    public void deleteMysqlServiceConfigById(String id);
    public MysqlServiceConfig queryMysqlServiceConfigById(String id);
    public MysqlServiceConfig queryMysqlServiceConfigByServiceId(String serviceId);
    public List<MysqlServiceConfig> queryMysqlServiceConfigs();
    public List<MysqlServiceConfig> queryMysqlServiceConfigsByPort(String port);
    public Page page(Integer pageNo, Integer pageSize);
}
